package com.enjoyor.soa.traffic.rest.efoms.dubbo;

import com.enjoyor.soa.traffic.api.dto.efoms.EvalItemInfoDto;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface IEvalItemConsumeService {
    /**
     * 新增评价项
     * @param evalItemInfoDto
     * @param username
     */
    ResultPojo insertEvalItemInfo(EvalItemInfoDto evalItemInfoDto, String username);

    /**
     * 修改评价项
     * @param evalItemInfoDto
     * @param username
     */
    ResultPojo updateEvalItemInfo(EvalItemInfoDto evalItemInfoDto, String username);

    /**
     * 删除评价项
     * @param evalItemId
     * @param username
     */
    ResultPojo deleteEvalItemInfo(String evalItemId, String username);

    /**
     * 查询评价项
     * @param evalItemId
     * @return
     */
    ResultPojo getEvalItemList(String evalItemId);
}
